package meta

type DictionaryData struct {
	//字典名字
	name string
	//字典类型
	form string
	//字典备注
	comment string
}

func OfDictionaryData(key string, form string, comment string) *DictionaryData {
	var data DictionaryData
	data.name = key
	data.form = form
	data.comment = comment
	return &data
}

func (data *DictionaryData) Name() string {
	return data.name
}
func (data *DictionaryData) Form() string {
	return data.form
}
func (data *DictionaryData) Comment() string {
	return data.comment
}
